package com.ruoyi.expert.service.impl;

import com.ruoyi.expert.mapper.Basicmapper;
import com.ruoyi.expert.mapper.Expertmapper;
import com.ruoyi.expert.pojo.*;
import com.ruoyi.expert.service.Basicservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 参数配置 服务层实现
 * @author wyp
 */

@Service
public class Basicserviceimpl implements Basicservice {
    @Autowired
    private Basicmapper mapper;
    @Override
    public Integer addexpert(Expert expert) {
        mapper.addexpert(expert);
        return expert.getJid();
    }
    @Override
    public Integer addexperience(Experience experience){

        return mapper.addexperience(experience);
    }

    @Override
    public Integer addeducate(Educate educate) {
        return mapper.addeducate(educate);
    }

    @Override
    public Integer addtraining(Training training) {
        return mapper.addtraining(training);
    }

    @Override
    public Integer addoccupation(Occupation occupation) {
        return mapper.addoccupation(occupation);
    }

    @Override
    public Integer addjob(Job job) {
        return mapper.addjob(job);
    }
}
